# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-editables
pkgver=0.3
pkgrel=0
pkgdesc="library for creating editable wheels"
url="https://github.com/pfmoore/editables"
arch="noarch"
license="MIT"
# archive has no tests
options="!check"
depends="python3"
makedepends="py3-build py3-installer py3-setuptools py3-wheel"
source="https://files.pythonhosted.org/packages/source/e/editables/editables-$pkgver.tar.gz"
builddir="$srcdir/editables-$pkgver"

build() {
	python3 -m build --skip-dependency-check --no-isolation --wheel .
}

package() {
	python3 -m installer -d "$pkgdir" \
		dist/editables-$pkgver-py3-none-any.whl
}

sha512sums="
4bdd1f43100cb1f9d46135f422ebe512d6fd61b47ab30c7a2ddb34515f3032cf1a6a28900c866b1b4b7b1bb267aadbe93efe2f41163a82666251b9e9f5cb1210  editables-0.3.tar.gz
"
